home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d21 / dvglue.arc / TVASIZE.C < prev    next >
C/C++ Source or Header  |  1990-01-09  |  1KB  |  29 lines

  1. /*================================================*/
  2. /* TVASIZE.C                                      */
  3. /*   functions to handle panel files              */
  4. /*                                                */
  5. /* (c) Copyright 1988 Ralf Brown                  */
  6. /*     All Rights Reserved                        */
  7. /* May be freely copied for noncommercial use,    */
  8. /* provided that this copyright notice remains    */
  9. /* intact and any changes are indicated in the    */
  10. /* comment blocks preceding functions             */
  11. /*================================================*/
  12.  
  13. #include "tvapi.h"
  14.  
  15. /*================================================*/
  16. /* TVpanel_size   get number of panels in file    */
  17. /*   Ralf Brown 4/8/88                            */
  18. /*================================================*/
  19.  
  20. int pascal TVpanel_size(OBJECT panel)
  21. {
  22.    if (TVisobj(panel))
  23.       return (int) TVsendmsg1(SIZE_MSG, TOS, panel) ;
  24.    else
  25.       return (int) 0 ;
  26. }
  27.  
  28. /* End of TVASIZE.C */
  29.